//init configuration
var groupUrl = baseUrl + '/api/groups';
if(location.href.indexOf('users') > -1)
	groupUrl += 'admin';
Ext.define('Cps.Config', {
	statics: {
		Api: {
			user: baseUrl + '/api/users',
			group: groupUrl,
			
			reportbudget: baseUrl + '/api/reportbudget',
			reportrealbudget: baseUrl + '/api/reportrealbudget',
			reportreal: baseUrl + '/api/reportreal',
			reportrealbalancemonth: baseUrl + '/api/reportrealbalancemonth',
			reportrealbalanceyear: baseUrl + '/api/reportrealbalanceyear',
			reportrealbalanceyearentry: baseUrl + '/api/reportrealbalanceyearentry',

            reportv2: baseUrl + '/controller.php?task=reportv2',
			
			//QuyBX
			getCenter: baseUrl + '/controller.php?task=getCenter',
			getThird: baseUrl + '/controller.php?task=getThird',
			getClient: baseUrl + '/controller.php?task=getClient',
			getPortfolio: baseUrl + '/controller.php?task=getPortfolio',
			getEmployee: baseUrl + '/controller.php?task=getEmployee',
			getPool: baseUrl + '/controller.php?task=getPool',
			getSecurity: baseUrl + '/controller.php?task=getSecurity',
			getPositionByPortfolio: baseUrl + '/controller.php?task=getPositionByPortfolio',
			getPositionByClient: baseUrl + '/controller.php?task=getPositionByClient',
			getPositionByDepositary: baseUrl + '/controller.php?task=getPositionByDepositary',
			getPositionBymanager: baseUrl + '/controller.php?task=getPositionBymanager',
			getAllPosition: baseUrl + '/controller.php?task=getAllPosition'
		},
		appFolder: baseUrl + '/Cps'
	}
});